package org.dromara.solonplugins.bee.config;

import javax.sql.DataSource;

import org.noear.solon.annotation.Bean;
import org.noear.solon.annotation.Configuration;
import org.noear.solon.annotation.Inject;

import cn.beecp.BeeDataSource;

@Configuration
public class BeeDatasourceConfig {

	@Bean(value = "db1",typed = true)
	public DataSource db1(@Inject("${demo.db1}") BeeDataSource ds ) {
		return ds;
	}
	
}
